home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 026a / force2.zip / README.1ST < prev   
Text File  |  1990-08-12  |  2KB  |  49 lines

  1.  
  2.                                                              08/12/90
  3.                           Examples of FORCE programs
  4.                           --------------------------
  5.  
  6.          The following are a few examples of programs written and
  7.          compiled with FORCE.  FORCE is a dBASE oriented compiler that
  8.          creates small EXE files.
  9.  
  10.          DISPSTRU   - Read DBF field information using low-level
  11.                       binary functions and display structure.
  12.  
  13.          KEY_VALS   - Interactively get the INKEY() and LASTKEY()
  14.                       values for FORCE.
  15.  
  16.          FSI        - Force version of Norton's System Info program.
  17.                       (based upon an example in the FORCE manual)
  18.  
  19.          =============================================================
  20.  
  21.          I did not include an EXE version of KEY_VALS because it is a
  22.          "big" file (about 39k).  The INKEY() and LASTKEY() functions
  23.          must require a large table of matching values...  The PRG is
  24.          very simple and can be compiled easily if you have FORCE.
  25.  
  26.          Certain functions in FORCE increase the size of EXEs due to
  27.          the extra support required.  I used one GET and READ in a 27k
  28.          program and the size increased to 52k.  It "forced" me to use
  29.          the INPUT command instead.  If you have a larger program that
  30.          uses many READs then the extra 25k would not be an issue.
  31.  
  32.          Attention FORCE users:  Do not blindly include the DATA.HDR
  33.          in your programs.  It will cause the EXE to increase by 19k!
  34.          Just extract the variables that you need and declare them as
  35.          EXTERN in your program.
  36.  
  37.          =============================================================
  38.  
  39.          These are just a few examples of programs I have created with
  40.          FORCE.  I like the small EXE files and the familiar dBASE-
  41.          like commands.  It is a good compiler to use if you want to
  42.          get more comfortable with 'C'-like programming.
  43.  
  44.  
  45.                        John Wright       CIS 72377,1770
  46.                        WRIGHTware        (617) 643-2674
  47.  
  48.  
  49.